﻿@model HxBlogs.Model.UserInfo
<aside class="d-flex flex-column blog-aside">
    <div class="d-inline-flex align-items-center mt-2 p-3 bg-white hx-aside-title">
        <div class="hx-avatar _50x50 hx-circle mr-2">
            <a>
                <img src="~/images/avatar.png" />
            </a>
        </div>
        <div class="mr-1">@(UserContext.GetDisplayName(Model))</div>
        @if (!UserContext.IsLoginUser(Model))
        {
            <div class="ml-auto">
                <button type="button" class="btn btn-outline-secondary btn-sm" id="@ViewBag.Attention">关注</button>
            </div>
        }
    </div>
    <div class="d-inline-flex justify-content-around  mb-1  p-3 bg-white">
        <div class="d-flex flex-column">
            <span>园龄</span>
            <span>100</span>
        </div>
        <div class="d-flex flex-column">
            <span>粉丝</span>
            <span>100</span>
        </div>
        <div class="d-flex flex-column">
            <span>关注</span>
            <span>100</span>
        </div>
        <div class="d-flex flex-column">
            <span>访问</span>
            <span>100</span>
        </div>
    </div>
    <div class="card my-1 partial-content" data-url="/article/@Model.UserName/side/loadarticle/@ViewBag.BlogId" hidden>
    </div>
    <div class="card my-1 partial-content" data-url="/article/@Model.UserName/side/loadtag" hidden>
    </div>
    <div class="card my-1 partial-content" data-url="/article/@Model.UserName/side/loadarchive" hidden>
    </div>
</aside>

